#include"Stack.h"

void InspectStack()
{
	Stack s;
	StackInit(&s);
	StackPush(&s, 1);
	StackPush(&s, 2);
	StackPush(&s, 3);
	StackPush(&s, 4);
	StackPush(&s, 5);
	while (!StackEmpty(&s))
	{
		printf("%d ", StackTop(&s));
		StackPop(&s);
	}
	printf("Stack is NULL\n");
	StackDestroy(&s);
}

int main()
{
	InspectStack();
	return 0;
}